package org.example.dao;

import org.example.entity.Food;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IFoodRepository extends JpaRepository<Food, Integer> {
    public List<Food> findAllByBusinessId(Integer businessId);

    public Food findByFoodId(Integer foodId);

}
